import { type RouteConfig, index,layout,route } from "@react-router/dev/routes";

export default [
    index("routes/abroad.tsx"),
    route("about","routes/about.tsx"),
    route("admin","routes/admin.tsx"),
    route("login","routes/login.tsx"),
    // route("post/:postId","routes/post.tsx"),

    // Nested routes
    route("dashboard","routes/dashboard.tsx", [
        // route("dashboard","routes/dashboard.tsx"),
        route("settings","routes/settings.tsx"),
        route("temp","routes/temp.tsx"),
    ]),
  
//   layout("routes/dashboard.tsx", [
//         // route("dashboard","routes/dashboard.tsx"),
//         route("settings","routes/settings.tsx"),
//         route("temp","routes/temp.tsx"),
//     ])
  

] satisfies RouteConfig;
